# coding:utf-8
__author__ = 'chenghao'
from gevent import monkey

monkey.patch_all()

from bottle import run, Bottle, GeventServer as server
from routes import Routes

bottle = Bottle()
bottle.merge(Routes)


@bottle.get("/")
def index():
	return {"code": 0}


run(server=server, app=bottle, host='0.0.0.0', port=8000, reloader=True, debug=True)